package com.huage_07.lesson_02;

import java.io.FileInputStream;
import java.io.IOException;

public class InputStreamDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis = new FileInputStream("class1\\src\\com\\huage_07\\lesson_02\\字节输出流.txt");

        int by;
        while ((by=fis.read())!=-1){
            System.out.print((char)by);
        }

        fis.close();
    }
}
